package com.vip.database.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author wgb
 * @since 2020-12-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysDict implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    private String id;

    /**
     * 字典名称
     */
    private String name;

    /**
     * 字典编码
     */
    private String code;

    /**
     * 字典父级ID
     */
    private String parentId;

    /**
     * 字典项排序字段,按DESC排序
     */
    private Integer sort;

    /**
     * 字典值：当字典名满足不了系统需求时，使用字典值
     */
    private String dictValue;

    /**
     * 字典描述
     */
    private String description;


}
